package com.agri.dto;

import lombok.Data;
import java.util.List;

@Data
public class LoginResponseDTO {
    private String token;
    private String username;
    private List<String> roles;
    private String realName;

    public LoginResponseDTO(String token, String username, List<String> roles, String realName) {
        this.token = token;
        this.username = username;
        this.roles = roles;
        this.realName = realName;
    }
}